import { getEnv } from '@/storage/global'

let upload_url: string = ''

const env: string = getEnv()

switch (env) {
  case 'dev': // 开发用
    upload_url = 'http://192.168.3.96:5088' // 龙工
  case 'dev1':
    upload_url = 'http://192.168.3.90:5088' // 蒋工
  case 'yd':
    upload_url = 'https://ydoss.yslpms.com'
}

export default upload_url
